package edu.whu.bean;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;


@Data
@TableName("t_pro")
public class Product {
    @TableId
    Integer id;
    String name;
    Double price;
    Integer count;
    Integer sales;

    public Product() {
    }

    public Product(Integer id, String name, Double price, Integer count, Integer sales) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.count = count;
        this.sales = sales;
    }
}
